
<%@ page contentType="text/html; charset=utf-8"%>
<%@include file="common/taglibs.jsp"%>
<html>
	<head>
		<title>menu</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<link rel="stylesheet" href="${ctx}/js/ztree/zTreeStyle.css" type="text/css">
		<script type="text/javascript" src="${ctx}/js/jquery.js"></script>
		<script type="text/javascript" src="${ctx}/js/ztree/jquery.ztree.min.js"></script>
		<script type="text/javascript">
			var setting = {
				data: {
					simpleData: {
						enable: true
					}
				}
			};
			var zNodes =[
		 			{ id:1, pId:0, name:"系统", open:true},
		 			{ id:11, pId:1, name:"产品配置"},
		 			{ id:111, pId:11, name:"配置产品",url:"product/product.action" , target: 'main'},
		 			{ id:112, pId:11, name:"配置所属行业", url:"product/product!catalog.action", target: "main"},
		 			{ id:113, pId:11, name:"配置用户等级", url:"userlevel/user_level.action", target: 'main'},
		 			{ id:2, pId:1, name:"运维权限配置"},
		 			{ id:21, pId:2, name:"角色定义"},
		 			{ id:22, pId:2, name:"修改密码"},
		 			{ id:3, pId:1, name:"系统参数配置"},
		 			{ id:4, pId:1, name:"子平台管理"},
		 			{ id:5, pId:1, name:"平台数据审核"}
		 		];
			$(document).ready(function(){
				$.fn.zTree.init($("#tree"), setting, zNodes);
			});
		</script>
	</head>
	<div id="tree" class="ztree"></div>
</html>
